package com.carlinfo.stu_ques.users.pojo;

import java.io.Serializable;

import java.util.Date;

import com.carlinfo.stu_ques.common.util.DateUtil;

/**
 * 属性:id,名字,起始分数,结束分数,创建时间,结束时间
 * 
 */
public class Level implements Serializable
{
	private int id;
	private String name;
	private double startMarks;
	private double finalMarks;
	private Date createTime;
	private Date updateTime;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getStartMarks() {
		return startMarks;
	}
	public void setStartMarks(double startMarks) {
		this.startMarks = startMarks;
	}
	public double getFinalMarks() {
		return finalMarks;
	}
	public void setFinalMarks(double finalMarks) {
		this.finalMarks = finalMarks;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	@Override
	public String toString() {
		DateUtil dateUtil =new DateUtil();
		return getId()+"\t"+getName()+"\t\t"+getStartMarks()+"\t\t"+getFinalMarks()+"\t\t"+
				dateUtil.dateTimeToStr(getCreateTime())+"\t"+dateUtil.dateTimeToStr(getUpdateTime());
	}
	

}
